home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / comp / outbin.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  304 b   |  21 lines

  1. /*
  2.                                 O U T B I N . C
  3. */
  4.  
  5. #include "iccomp.h"
  6.  
  7. void outbin(source, size)
  8.     void
  9.         *source;
  10.     unsigned
  11.         size;
  12. {
  13.     if
  14.     (
  15.         size
  16.         &&
  17.         !fwrite(source, size * sizeof(INT8), 1, s_bin)
  18.     )
  19.         error("Error in writing binary file");
  20. }
  21.